package com.xq.jltx.kotlinlearn09;

/**
 * @author aidenquan
 * Created by junlintianxia on 2022/07/28.
 */
public class Lanbda8Test {

    public static void main(String[] args) {
        a1(() -> System.out.println("run"));
    }


    public static String b(int p) {
        return String.valueOf(p);
    }


    public static void a1(Runnable run) {
        run.run();
    }
}

interface OnClickListener {
    void onClick(int p);
}
